src/dsfml/audio/soundbuffer.d(64,41): Error: `@safe` constructor `dsfml.audio.soundbuffer.SoundBuffer.this` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundbuffer.d(88,42): Error: pointer slicing not allowed in safe functions src/dsfml/audio/soundbuffer.d(144,49): Error: `@safe` function `dsfml.audio.soundbuffer.SoundBuffer.loadFromFile` cannot call `@system` function `dsfml.system.string.toStringz!char.toStringz` src/dsfml/system/string.d(45,11): `dsfml.system.string.toStringz!char.toStringz` is declared here src/dsfml/audio/soundbuffer.d(150,42): Error: `@safe` function `dsfml.audio.soundbuffer.SoundBuffer.loadFromFile` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundbuffer.d(167,42): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead src/dsfml/audio/soundbuffer.d(174,42): Error: `@safe` function `dsfml.audio.soundbuffer.SoundBuffer.loadFromMemory` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundbuffer.d(198,42): Error: `@safe` function `dsfml.audio.soundbuffer.SoundBuffer.loadFromStream` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundbuffer.d(217,43): Error: `samples.ptr` cannot be used in `@safe` code, use `&samples[0]` instead src/dsfml/audio/soundbuffer.d(224,42): Error: `@safe` function `dsfml.audio.soundbuffer.SoundBuffer.loadFromSamples` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundbuffer.d(242,47): Error: `@safe` function `dsfml.audio.soundbuffer.SoundBuffer.saveToFile` cannot call `@system` function `dsfml.system.string.toStringz!char.toStringz` src/dsfml/system/string.d(45,11): `dsfml.system.string.toStringz!char.toStringz` is declared here src/dsfml/audio/soundbuffer.d(249,42): Error: `@safe` function `dsfml.audio.soundbuffer.SoundBuffer.saveToFile` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundbuffer.d(311,28): Error: pointer slicing not allowed in safe functions src/dsfml/audio/soundfile.d(46,70): Error: `@safe` function `dsfml.audio.soundfile.SoundFile.openReadFromFile` cannot call `@system` function `dsfml.system.string.toStringz!char.toStringz` src/dsfml/system/string.d(45,11): `dsfml.system.string.toStringz!char.toStringz` is declared here src/dsfml/audio/soundfile.d(47,21): Error: `@safe` function `dsfml.audio.soundfile.SoundFile.openReadFromFile` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundfile.d(54,63): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead src/dsfml/audio/soundfile.d(55,21): Error: `@safe` function `dsfml.audio.soundfile.SoundFile.openReadFromMemory` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundfile.d(64,21): Error: `@safe` function `dsfml.audio.soundfile.SoundFile.openReadFromStream` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundfile.d(71,63): Error: `@safe` function `dsfml.audio.soundfile.SoundFile.openWrite` cannot call `@system` function `dsfml.system.string.toStringz!char.toStringz` src/dsfml/system/string.d(45,11): `dsfml.system.string.toStringz!char.toStringz` is declared here src/dsfml/audio/soundfile.d(72,21): Error: `@safe` function `dsfml.audio.soundfile.SoundFile.openWrite` cannot call `@system` function `dsfml.system.string.toString!char.toString` src/dsfml/system/string.d(33,16): `dsfml.system.string.toString!char.toString` is declared here src/dsfml/audio/soundfile.d(78,39): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.